home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / src / gdb-4.12 / gdb / makefile.in < prev    next >
Encoding:
Makefile  |  1994-07-26  |  55.9 KB  |  1,493 lines

  1. #Copyright 1989, 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
  2.  
  3. # This file is part of GDB.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16.  
  17. prefix = /usr/local
  18.  
  19. program_transform_name =
  20. exec_prefix = $(prefix)
  21. bindir = $(exec_prefix)/bin
  22. libdir = $(exec_prefix)/lib
  23. tooldir = $(libdir)/$(target_alias)
  24.  
  25. datadir = $(prefix)/lib
  26. mandir = $(prefix)/man
  27. man1dir = $(mandir)/man1
  28. man2dir = $(mandir)/man2
  29. man3dir = $(mandir)/man3
  30. man4dir = $(mandir)/man4
  31. man5dir = $(mandir)/man5
  32. man6dir = $(mandir)/man6
  33. man7dir = $(mandir)/man7
  34. man8dir = $(mandir)/man8
  35. man9dir = $(mandir)/man9
  36. infodir = $(prefix)/info
  37. includedir = $(prefix)/include
  38. docdir = $(datadir)/doc
  39.  
  40. SHELL = /bin/sh
  41.  
  42. INSTALL = `cd $(srcdir)/..;pwd`/install.sh -c
  43. INSTALL_PROGRAM = $(INSTALL)
  44. INSTALL_DATA = $(INSTALL)
  45. INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
  46. INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
  47.  
  48. AR = ar
  49. AR_FLAGS = qv
  50. RANLIB = ranlib
  51.  
  52. M_INSTALL=@:
  53. M_UNINSTALL=@:
  54.  
  55. # Flags that describe where you can find the termcap library.
  56. # This can be overridden in the host Makefile fragment file.
  57. TERMCAP = -ltermcap
  58.  
  59. # If you are compiling with GCC, make sure that either 1) You have the
  60. # fixed include files where GCC can reach them, or 2) You use the
  61. # -traditional flag.  Otherwise the ioctl calls in inflow.c
  62. # will be incorrectly compiled.  The "fixincludes" script in the gcc
  63. # distribution will fix your include files up.
  64. #CC=gcc -traditional
  65.  
  66. # Directory containing source files.  Don't clean up the spacing,
  67. # this exact string is matched for by the "configure" script.
  68. srcdir = .
  69.  
  70. # If you use bison instead of yacc, it needs to include the "-y" argument.
  71. #BISON=bison -y
  72. BISON=yacc
  73. YACC=$(BISON)
  74.  
  75. # where to find makeinfo, preferably one designed for texinfo-2
  76. MAKEINFO=makeinfo
  77.  
  78. # Set this up with gcc if you have gnu ld and the loader will print out
  79. # line numbers for undefined references.
  80. #CC-LD=gcc -static
  81. CC-LD=$(CC)
  82.  
  83. # Where is our "include" directory?  Typically $(srcdir)/../include.
  84. # This is essentially the header file directory for the library
  85. # routines in libiberty.
  86. INCLUDE_DIR =  $(srcdir)/../include
  87. INCLUDE_CFLAGS = -I$(INCLUDE_DIR)
  88. # Where is the "-liberty" library, containing getopt and obstack?
  89. LIBIBERTY = ../libiberty/libiberty.a
  90.  
  91. # Where is the MMALLOC library?  Typically ../mmalloc.
  92. # Note that mmalloc can still be used on systems without mmap().
  93. # To use your system malloc, comment out the following defines.
  94. MMALLOC = ../mmalloc/libmmalloc.a
  95. # To use your system malloc, uncomment MMALLOC_DISABLE.
  96. #MMALLOC_DISABLE = -DNO_MMALLOC
  97. # To use mmalloc but disable corruption checking, uncomment MMALLOC_CHECK
  98. #MMALLOC_CHECK = -DNO_MMALLOC_CHECK
  99. MMALLOC_CFLAGS = $(MMALLOC_CHECK) $(MMALLOC_DISABLE)
  100.  
  101. # Where are the BFD library?
  102. BFD_DIR = ../bfd
  103. BFD = $(BFD_DIR)/libbfd.a
  104. BFD_SRC = $(srcdir)/$(BFD_DIR)
  105. BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
  106.  
  107. # Where is the READLINE library?  Typically in ../readline.
  108. READLINE_DIR = ../readline
  109. READLINE = $(READLINE_DIR)/libreadline.a
  110. READLINE_SRC = $(srcdir)/$(READLINE_DIR)
  111. READLINE_CFLAGS = -I$(READLINE_SRC)
  112.  
  113. # Opcodes currently live in one of two places.  Either they are in the
  114. # opcode library, typically ../opcodes, or they are in a header file
  115. # in INCLUDE_DIR.
  116. # Where is the "-lopcodes" library, with (some of) the opcode tables and
  117. # disassemblers?
  118. OPCODES = ./../opcodes/libopcodes.a
  119. # Where are the other opcode tables which only have header file
  120. # versions?
  121. OP_INCLUDE = $(INCLUDE_DIR)/opcode
  122. OPCODES_CFLAGS = -I$(OP_INCLUDE)
  123.  
  124. # All the includes used for CFLAGS and for lint.
  125. # -I. for config files.
  126. # -I$(srcdir) for gdb internal headers and possibly for regex.h also.
  127. # -I$(srcdir)/config for more generic config files.
  128.  
  129. # It is also possible that you will need to add -I/usr/include/sys if
  130. # your system doesn't have fcntl.h in /usr/include (which is where it
  131. # should be according to Posix).
  132. GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config
  133.  
  134. # M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
  135. # from the config directory.
  136. GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS)
  137. #PROFILE_CFLAGS = -pg
  138.  
  139. # CFLAGS is specifically reserved for setting from the command line
  140. # when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
  141. CFLAGS = -g
  142.  
  143. # Need to pass this to testsuite for "make check".  Probably should be
  144. # consistent with top-level Makefile.in and gdb/testsuite/Makefile.in
  145. # so "make check" has the same result no matter where it is run.
  146. CXXFLAGS = -g -O
  147.  
  148. # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
  149. INTERNAL_CFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
  150.     $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
  151.     $(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS)
  152.  
  153. # LDFLAGS is specifically reserved for setting from the command line
  154. # when running make.
  155.  
  156. # Profiling options need to go here to work.
  157. # I think it's perfectly reasonable for a user to set -pg in CFLAGS
  158. # and have it work; that's why CFLAGS is here.
  159. INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) $(LDFLAGS)
  160.  
  161. # We are using our own version of REGEX now to be consistent across
  162. # machines.
  163. REGEX = regex.o
  164. REGEX1 = regex.o
  165.  
  166. # If your system is missing alloca(), or, more likely, it's there but
  167. # it doesn't work, then refer to libiberty.
  168.  
  169. # Libraries and corresponding dependencies for compiling gdb.
  170. # {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs.
  171. # TERMCAP comes after readline, since readline depends on it.
  172. # If you have the Cygnus libraries installed,
  173. # you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
  174. INSTALLED_LIBS=-lbfd -lreadline $(TERMCAP) -lopcodes -lmmalloc \
  175.     -liberty $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS)
  176. CLIBS = $(BFD) $(READLINE) $(OPCODES) $(MMALLOC) \
  177.     $(LIBIBERTY) $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS)
  178. CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) \
  179.     $(BFD) $(READLINE) $(OPCODES) $(MMALLOC) $(LIBIBERTY)
  180.  
  181. ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
  182. ADD_DEPS = $(REGEX1) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
  183.  
  184. VERSION = 4.12
  185. DIST=gdb
  186.  
  187. LINT=/usr/5bin/lint
  188. LINTFLAGS= $(BFD_CFLAGS)
  189.  
  190. RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
  191.         echo $${srcdir}/../dejagnu/runtest ; else echo runtest; \
  192.        fi`
  193.  
  194. RUNTESTFLAGS=
  195.  
  196. # This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX
  197. # interface to the serial port.  Hopefully if get ported to OS/2, VMS,
  198. # etc., then there will be (as part of the C library or perhaps as
  199. # part of libiberty) a POSIX interface.  But at least for now the
  200. # host-dependent makefile fragment might need to use something else
  201. # besides ser-unix.o
  202. SER_HARDWIRE=ser-unix.o
  203.  
  204. # The `remote' debugging target is supported for most architectures,
  205. # but not all (e.g. 960)
  206. REMOTE_O = remote.o dcache.o remote-utils.o
  207.  
  208. # Host and target-dependent makefile fragments come in here.
  209. ####
  210. # End of host and target-dependent makefile fragments
  211.  
  212. FLAGS_TO_PASS = \
  213.     "prefix=$(prefix)" \
  214.     "exec_prefix=$(exec_prefix)" \
  215.     "against=$(against)" \
  216.     "AR=$(AR)" \
  217.     "AR_FLAGS=$(AR_FLAGS)" \
  218.     "CC=$(CC)" \
  219.     "CFLAGS=$(CFLAGS)" \
  220.     "CHILLFLAGS=$(CHILLFLAGS)" \
  221.     "CHILL=$(CHILL)" \
  222.     "CHILL_LIB=$(CHILL_LIB)" \
  223.     "CXX=$(CXX)" \
  224.     "CXXFLAGS=$(CXXFLAGS)" \
  225.     "RANLIB=$(RANLIB)" \
  226.     "MAKEINFO=$(MAKEINFO)" \
  227.     "INSTALL=$(INSTALL)" \
  228.     "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
  229.     "INSTALL_DATA=$(INSTALL_DATA)" \
  230.     "RUNTEST=$(RUNTEST)" \
  231.     "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
  232.     "BISON=$(BISON)"
  233.  
  234. # Flags that we pass when building the testsuite.
  235.  
  236. CC_FOR_TARGET = ` \
  237.   if [ -f $${rootme}/../gcc/xgcc ] ; then \
  238.     echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
  239.   else \
  240.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  241.       echo $(CC); \
  242.     else \
  243.       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
  244.     fi; \
  245.   fi`
  246.  
  247. CXX = gcc
  248.  
  249. CXX_FOR_TARGET = ` \
  250.   if [ -f $${rootme}/../gcc/Makefile ] ; then \
  251.     echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
  252.   else \
  253.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  254.       echo $(CXX); \
  255.     else \
  256.       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
  257.     fi; \
  258.   fi`
  259.  
  260. CHILLFLAGS = $(CFLAGS)
  261. CHILL = gcc
  262. CHILL_FOR_TARGET = ` \
  263.   if [ -f $${rootme}/../gcc/Makefile ] ; then \
  264.     echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -L$${rootme}/../chillrt/; \
  265.   else \
  266.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  267.       echo $(CC); \
  268.     else \
  269.       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
  270.     fi; \
  271.   fi`
  272. CHILL_LIB = -lchill
  273.  
  274. # The use of $$(x_FOR_TARGET) reduces the command line length by not
  275. # duplicating the lengthy definition.
  276. TARGET_FLAGS_TO_PASS = \
  277.     "prefix=$(prefix)" \
  278.     "exec_prefix=$(exec_prefix)" \
  279.     "against=$(against)" \
  280.     'CC=$$(CC_FOR_TARGET)' \
  281.     "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
  282.     "CFLAGS=$(CFLAGS)" \
  283.     "CHILLFLAGS=$(CHILLFLAGS)" \
  284.     'CHILL=$$(CHILL_FOR_TARGET)' \
  285.     "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
  286.     "CHILL_LIB=$(CHILL_LIB)" \
  287.     'CXX=$$(CXX_FOR_TARGET)' \
  288.     "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
  289.     "CXXFLAGS=$(CXXFLAGS)" \
  290.     "MAKEINFO=$(MAKEINFO)" \
  291.     "INSTALL=$(INSTALL)" \
  292.     "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
  293.     "INSTALL_DATA=$(INSTALL_DATA)" \
  294.     "RUNTEST=$(RUNTEST)" \
  295.     "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
  296.     "BISON=$(BISON)"
  297.  
  298. # All source files that go into linking GDB.
  299. # Links made at configuration time should not be specified here, since
  300. # SFILES is used in building the distribution archive.
  301.  
  302. SFILES = blockframe.c breakpoint.c buildsym.c c-exp.y c-lang.c \
  303.     c-typeprint.c c-valprint.c ch-exp.y ch-lang.c ch-typeprint.c \
  304.     ch-valprint.c coffread.c command.c complaints.c core.c cp-valprint.c \
  305.     dbxread.c demangle.c dwarfread.c elfread.c environ.c eval.c expprint.c \
  306.     findvar.c gdbtypes.c infcmd.c inflow.c infrun.c language.c putenv.c \
  307.     m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \
  308.     mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \
  309.     printcmd.c remote.c source.c stabsread.c stack.c symfile.c symmisc.c \
  310.     symtab.c target.c thread.c typeprint.c utils.c valarith.c valops.c \
  311.     valprint.c values.c serial.c ser-unix.c mdebugread.c
  312.  
  313. # Files that are not source code, but need to go into
  314. # gdb-$(VERSION).tar.Z.
  315.  
  316. NONSRC = Makefile.in configure.in ChangeLog ChangeLog-9091 \
  317.     ChangeLog-92 ChangeLog-93 ChangeLog-3.x \
  318.     gdb.1 refcard.ps README TODO TAGS NEWS \
  319.     Projects .gdbinit COPYING $(YYFILES) copying.c copying.awk \
  320.     saber.suppress standalone.c stuff.c kdb-start.c gcc.patch \
  321.     nindy-share/Makefile nindy-share/VERSION nindy-share/README \
  322.     vx-share/README 29k-share/README config/convex/Convex.notes \
  323.     i386-nlmstub.c
  324.  
  325. # All source files that lint should look at
  326. LINTFILES = $(SFILES) $(YYFILES) init.c
  327.  
  328. # Any additional files specified on these lines should also be added to
  329. # the NONSRC definition, so they go in the tar files.
  330. SFILES_STAND = $(SFILES) standalone.c
  331. SFILES_KGDB  = $(SFILES) stuff.c kdb-start.c
  332.  
  333. # "system" headers.  Using these in dependencies is a rather personal
  334. # choice.  By default, we do not depend on these files.
  335. #getopt_h =    $(INCLUDE_DIR)/getopt.h
  336. #ieee-float_h =    $(INCLUDE_DIR)/ieee-float.h
  337. #bfd_h =        $(BFD_DIR)/bfd.h
  338. #wait_h =    $(INCLUDE_DIR)/wait.h
  339. #dis-asm_h =    $(INCLUDE_DIR)/dis-asm.h 
  340.  
  341. dcache_h = dcache.h
  342. remote_utils_h = $(dcache_h) serial.h target.h remote-utils.h remote-sim.h
  343.  
  344. readline_headers = \
  345.     $(READLINE_SRC)/chardefs.h \
  346.     $(READLINE_SRC)/history.h \
  347.     $(READLINE_SRC)/keymaps.h \
  348.     $(READLINE_SRC)/readline.h
  349.  
  350. udiheaders = \
  351.     $(srcdir)/29k-share/udi/udiproc.h \
  352.     $(srcdir)/29k-share/udi/udiphcfg.h \
  353.     $(srcdir)/29k-share/udi/udiphunix.h \
  354.     $(srcdir)/29k-share/udi/udiptcfg.h \
  355.     $(srcdir)/29k-share/udi/udipt29k.h \
  356.     $(srcdir)/29k-share/udi/udisoc.h
  357.  
  358. dcache_h =    dcache.h
  359.  
  360. gdbcore_h =    gdbcore.h $(bfd_h)
  361.  
  362. frame_h =    frame.h
  363. symtab_h =    symtab.h
  364. gdbtypes_h =    gdbtypes.h
  365. expression_h =    expression.h
  366. value_h =    value.h $(symtab_h) $(gdbtypes_h) $(expression_h)
  367.  
  368. breakpoint_h =    breakpoint.h $(frame_h) $(value_h)
  369.  
  370. command_h =    command.h
  371. gdbcmd_h =    gdbcmd.h $(command_h)
  372.  
  373. defs_h =    defs.h xm.h tm.h nm.h config.status
  374.  
  375. inferior_h =    inferior.h $(breakpoint_h)
  376.  
  377. # Header files that need to have srcdir added.
  378.  
  379. HFILES_NO_SRCDIR = buildsym.h call-cmds.h coff-solib.h defs.h dst.h environ.h \
  380.     $(gdbcmd_h) \
  381.     $(gdbcore_h) gdb-stabs.h $(inferior_h) language.h minimon.h monitor.h \
  382.     objfiles.h parser-defs.h partial-stab.h serial.h signals.h solib.h \
  383.     symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \
  384.     c-lang.h ch-lang.h m2-lang.h complaints.h ns32k-opcode.h valprint.h \
  385.     config/m68k/tm-m68k.h config/pa/tm-hppa.h config/i960/tm-i960.h \
  386.     config/sparc/tm-sparc.h config/tm-lynx.h config/tm-sunos.h \
  387.     config/tm-sysv4.h \
  388.     config/m68k/xm-m68k.h config/sparc/xm-sparc.h \
  389.     config/xm-lynx.h config/xm-sysv4.h \
  390.     config/vax/xm-vax.h config/nm-m3.h config/nm-trash.h \
  391.     29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \
  392.     nindy-share/block_io.h nindy-share/coff.h \
  393.     nindy-share/env.h nindy-share/stop.h \
  394.     vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
  395.     vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \
  396.     vx-share/xdr_ptrace.h vx-share/xdr_rdb.h thread.h \
  397.     $(remote_utils_h)
  398.  
  399. # Header files that already have srcdir in them.
  400.  
  401. HFILES_WITH_SRCDIR = $(udiheaders)
  402.  
  403.  
  404. # GDB "info" files, which should be included in their entirety
  405. INFOFILES = gdb.info*
  406.  
  407. REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
  408.  
  409. POSSLIBS = regex.c regex.h
  410.  
  411. # Subdirectories of gdb, which should be included in their entirety in
  412. # gdb-xxx.tar.Z:
  413. TARDIRS = doc gdbserver sparclite
  414.  
  415. # {X,T,NAT}DEPFILES are something of a pain in that it's hard to
  416. # default their values the way we do for SER_HARDWIRE; in the future
  417. # maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other
  418. # variables analogous to SER_HARDWIRE which get defaulted in this
  419. # Makefile.in
  420.  
  421. DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) $(REMOTE_O)
  422.  
  423. SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES)
  424. # Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
  425. # and it's more useful to see it in the .y file.
  426. TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \
  427.     $(ALLPARAM) $(POSSLIBS)
  428. TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
  429.  
  430. TARFILES = $(SFILES) $(HFILES_NO_SRCDIR) $(HFILES_WITH_SRCDIR) \
  431.     $(NONSRC) $(ALLDEPFILES) $(ALLCONFIG) \
  432.     $(ALLPARAM) $(INFOFILES) $(POSSLIBS) $(REMOTE_EXAMPLES)
  433.  
  434.  
  435. OBS =    version.o main.o blockframe.o breakpoint.o findvar.o stack.o thread.o \
  436.     source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
  437.     symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \
  438.     utils.o expprint.o environ.o gdbtypes.o copying.o $(DEPFILES) \
  439.     mem-break.o target.o putenv.o parse.o language.o $(YYOBJ) buildsym.o \
  440.     objfiles.o minsyms.o maint.o demangle.o dbxread.o coffread.o elfread.o \
  441.     dwarfread.o mipsread.o stabsread.o core.o c-lang.o ch-lang.o m2-lang.o \
  442.     complaints.o typeprint.o c-typeprint.o ch-typeprint.o m2-typeprint.o \
  443.     c-valprint.o cp-valprint.o ch-valprint.o m2-valprint.o nlmread.o \
  444.     serial.o mdebugread.o
  445.  
  446. RAPP_OBS = rgdb.o rudp.o rserial.o serial.o udp.o $(XDEPFILES)
  447.  
  448. TSOBS = inflow.o
  449.  
  450. NTSOBS = standalone.o
  451.  
  452. TSSTART = /lib/crt0.o
  453.  
  454. NTSSTART = kdb-start.o
  455.  
  456. SUBDIRS = doc testsuite
  457.  
  458. # For now, shortcut the "configure GDB for fewer languages" stuff.
  459. YYFILES = c-exp.tab.c m2-exp.tab.c ch-exp.tab.c
  460. YYOBJ = c-exp.tab.o m2-exp.tab.o ch-exp.tab.o
  461.  
  462. # Prevent Sun make from putting in the machine type.  Setting
  463. # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
  464. .c.o:
  465.     $(CC) -c $(INTERNAL_CFLAGS) $<
  466.  
  467. all: gdb
  468.     @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
  469.  
  470. installcheck:
  471.  
  472. # The check target can not use subdir_do, because subdir_do does not
  473. # use TARGET_FLAGS_TO_PASS.
  474. check: force
  475.     @if [ -f testsuite/Makefile ]; then \
  476.       rootme=`pwd`; export rootme; \
  477.       cd testsuite; \
  478.       $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \
  479.     else true; fi
  480.  
  481. info dvi install-info clean-info: force
  482.     @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
  483.  
  484. gdb.z:gdb.1
  485.     nroff -man $(srcdir)/gdb.1 | col -b > gdb.t 
  486.     pack gdb.t ; rm -f gdb.t
  487.     mv gdb.t.z gdb.z
  488.  
  489. # Traditionally "install" depends on "all".  But it may be useful
  490. # not to; for example, if the user has made some trivial change to a 
  491. # source file and doesn't care about rebuilding or just wants to save the
  492. # time it takes for make to check that all is up to date.
  493. # install-only is intended to address that need.
  494. install: all install-only
  495. install-only: 
  496.     $(INSTALL_XFORM) gdb $(bindir)/gdb
  497.     $(INSTALL_XFORM1) $(srcdir)/gdb.1 $(man1dir)/gdb.1
  498.     @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do 
  499.  
  500. uninstall: force
  501.     rm -f $(bindir)/gdb $(man1dir)/gdb.1
  502.     @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do 
  503.  
  504. # We do this by grepping through sources.  If that turns out to be too slow,
  505. # maybe we could just require every .o file to have an initialization routine
  506. # of a given name (remote-udi.o -> _initialize_remote_udi, etc.).
  507. init.c: $(OBS) $(TSOBS) getinit
  508.     ./getinit $(OBS) $(TSOBS)
  509.  
  510. getinit : getinit.o
  511.     $(CC) getinit.o -o getinit
  512.  
  513. .PRECIOUS: init.c
  514.  
  515. # Removing the old gdb first works better if it is running, at least on SunOS.
  516. gdb: $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
  517.     rm -f gdb
  518.     $(CC-LD) $(INTERNAL_LDFLAGS) -o gdb \
  519.       init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES)
  520.  
  521. saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c
  522.     #setopt load_flags $(CFLAGS) $(BFD_CFLAGS) -DHOST_SYS=SUN4_SYS
  523.     #load ./init.c $(SFILES)
  524.     #unload $(srcdir)/c-exp.y $(srcdir)/m2-exp.y $(srcdir)/ch-exp.y
  525.     #unload vx-share/*.h
  526.     #unload nindy-share/[A-Z]*
  527.     #load c-exp.tab.c m2-exp.tab.c ch-exp.tab.c
  528.     #load copying.c version.c
  529.     #load ../opcodes/libopcodes.a
  530.     #load ../libiberty/libiberty.a
  531.     #load ../bfd/libbfd.a
  532.     #load ../readline/libreadline.a
  533.     #load ../mmalloc/libmmalloc.a
  534.     #load -ltermcap 
  535.     #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'`
  536.     echo "Load .c corresponding to:" $(DEPFILES)
  537.  
  538.  
  539. # This is useful when debugging GDB, because some Unix's don't let you run GDB
  540. # on itself without copying the executable.  So "make gdb1" will make
  541. # gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
  542. # Removing gdb1 before the copy is the right thing if gdb1 is open
  543. # in another process.
  544. gdb1: gdb
  545.     rm -f gdb1
  546.     cp gdb gdb1
  547.  
  548. # This is a remote stub which runs under unix and starts up an
  549. # inferior process.  This is at least useful for debugging GDB's
  550. # remote support.
  551. rapp: $(RAPP_OBS)
  552.     rm -f rapp_init.c
  553.     $(srcdir)/munch $(MUNCH_DEFINE) $(RAPP_OBS) > rapp_init.c
  554.     $(CC-LD) $(INTERNAL_LDFLAGS) -o $@ rapp_init.c $(RAPP_OBS)
  555.  
  556. config.status:
  557.     @echo "You must configure gdb.  Look at the README file for details."
  558.     @false
  559.  
  560. ### fixme - this can't be right.
  561. # This checks the configure.in file versus the config/ directory.
  562. config-check: config-check-hosts config-check-targets
  563. config-check-hosts:
  564.     grep gdb_host= $(srcdir)/configure.in | \
  565.         sed -e 's/.*gdb_host=//' -e 's/ ;;$$/.mh/' | sort -u >HOSTconf.o
  566.     (cd $(srcdir)/config; ls *.mh) >HOSTdir.o
  567.     diff -u HOSTconf.o HOSTdir.o
  568.  
  569. ### fixme - nor can this.
  570. config-check-targets:
  571.     grep gdb_target= $(srcdir)/configure.in | \
  572.         sed -e 's/.*gdb_target=//' -e 's/ ;;$$/.mh/' | sort -u >TARGconf.o
  573.     (cd $(srcdir)/config; ls *.mt) >TARGdir.o
  574.     diff -u HOSTconf.o HOSTdir.o
  575.  
  576. # FIXME. These are not generated by "make depend" because they only are there
  577. # for some machines.
  578. # But these rules don't do what we want; we want to hack the foo.o: tm.h
  579. # dependency to do the right thing.
  580. tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h: tm-m68k.h
  581. tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-m68k.h
  582. xm-news1000.h: xm-news.h
  583. xm-i386-sv32.h: xm-i386.h
  584. tm-i386gas.h: tm-i386.h
  585. xm-sun4os4.h: xm-sparc.h
  586. tm-sun4os4.h: tm-sparc.h
  587. xm-vaxult.h: xm-vax.h
  588. xm-vaxbsd.h: xm-vax.h
  589.  
  590. kdb:    $(NTSSTART) $(OBS) $(NTSOBS) $(ADD_DEPS) $(CDEPS)
  591.     rm -f init.c
  592.     $(srcdir)/munch $(MUNCH_DEFINE) $(OBS) $(NTSOBS) > init.c
  593.     $(CC) $(INTERNAL_LDFLAGS) -c init.c $(CLIBS) 
  594.     ld -o kdb $(NTSSTART) $(OBS) $(NTSOBS) init.o $(ADD_FILES) \
  595.       -lc $(CLIBS)
  596.  
  597. # Put the proper machine-specific files first, so M-. on a machine
  598. # specific routine gets the one for the correct machine.  (FIXME: those
  599. # files go in twice; we should be removing them from the main list).
  600.  
  601. # TAGS depends on all the files that go into it so you can rebuild TAGS
  602. # with `make TAGS' and not have to say `rm TAGS' first.
  603.  
  604. TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
  605.     etags `find $(srcdir)/config \( -name $(TM_FILE) \
  606.         -o -name $(XM_FILE) \
  607.         -o -name $(NAT_FILE) \) -print` \
  608.     `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
  609.         echo $(srcdir)/$$i ; \
  610.     done ; for i in $(TAGFILES_WITH_SRCDIR); do \
  611.         echo $$i ; \
  612.     done) | sed -e 's/\.o$$/\.c/'`
  613.  
  614. tags: TAGS
  615.  
  616. # Making distributions of GDB and friends.
  617.  
  618. # Make a tar file containing the GDB directory of the distribution.
  619. gdb.tar.Z: force_update
  620.     $(MAKE) $(MFLAGS) -f Makefile.in setup-to-dist
  621.     $(MAKE) $(MFLAGS) -f Makefile.in gdb-$(VERSION).tar.Z
  622.  
  623. # Make a directory `proto-gdb.dir' that contains an image of the GDB
  624. # directory of the distribution, built up with symlinks.  Note that this
  625. # make target is not directly referenced by any other rules in this makefile,
  626. # it is referenced by the makefile in the parent directory.
  627. make-proto-gdb.dir: force_update 
  628.     $(MAKE) $(MFLAGS) -f Makefile.in setup-to-dist
  629.     $(MAKE) $(MFLAGS) -f Makefile make-proto-gdb-1
  630.  
  631. # Set up the GDB source directory for distribution, by building all files that
  632. # are products of other files.
  633. setup-to-dist: force_update
  634.     ../configure none
  635.     (cd doc; $(MAKE) $(MFLAGS) GDBvn.texi)
  636.     $(MAKE) $(MFLAGS) gdb.info
  637.     $(MAKE) $(MFLAGS) refcard.ps
  638.  
  639. # Build a tar file from a proto-gdb.dir.
  640. gdb-$(VERSION).tar.Z: force_update
  641.     rm -f gdb.tar gdb-$(VERSION).tar.Z
  642.     $(MAKE) $(MFLAGS) -f Makefile make-proto-gdb-1
  643.     ln -s proto-gdb.dir $(DIST)
  644.     tar chf - $(DIST) | compress >gdb-$(VERSION).tar.Z
  645.     rm -rf $(DIST) proto-gdb.dir
  646.  
  647. # Build a proto-gdb.dir after GDB has been set up for distribution.
  648. # This stuff must be run in `Makefile', not `Makefile.in`; we use the makefile
  649. # built in the setup-to-dist process, since it defines things like ALLCONFIG
  650. # and ALLDEPFILES, that we need.
  651. make-proto-gdb-1: $(TARFILES) $(TARDIRS) gdb.info
  652.     rm -rf proto-gdb.dir
  653.     mkdir proto-gdb.dir
  654.     rootme=`pwd`/ ; export rootme ; \
  655.       for i in `echo $(TARDIRS)`; do \
  656.         (cd proto-gdb.dir ; \
  657.         mkdir -p $$i; \
  658.         cd $$i; \
  659.         ln -s $${rootme}/$$i/* .; \
  660.         rm -rf SCCS CVS CVS.adm RCS config.status; \
  661.         if test -f Makefile.in; then rm -f Makefile; else true; fi;); \
  662.       done ; \
  663.       for i in `echo $(TARFILES)`; do \
  664.         (cd proto-gdb.dir ; \
  665.         dir=`dirname $$i`; \
  666.         if test -d $$dir; then true; else mkdir -p $$dir; fi; \
  667.         ln -s $${rootme}/$$i $$i;); \
  668.       done
  669.     chmod og=u `find . -print`
  670.  
  671. # Build a proto-testsuite.dir.
  672. make-proto-testsuite.dir: force_update
  673.     rm -rf proto-testsuite.dir
  674.     mkdir proto-testsuite.dir
  675.     rootme=`pwd`/ ; export rootme ; \
  676.       for i in `find testsuite -type f -print`; do \
  677.         (cd proto-testsuite.dir ; \
  678.         dir=`dirname $$i`; \
  679.         if test -d $$dir; then true; else mkdir -p $$dir; fi; \
  680.         ln -s $${rootme}/$$i $$i;); \
  681.       done
  682.     find proto-testsuite.dir -name Makefile -exec rm {} \;
  683.     find proto-testsuite.dir -name config.status -exec rm {} \;
  684.  
  685. clean mostlyclean:
  686.     @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do 
  687.     rm -f *.o $(ADD_FILES) *~ init.c-tmp
  688.     rm -f init.c version.c
  689.     rm -f gdb core make.log
  690.     rm -f gdb[0-9]
  691.  
  692. # This used to depend on c-exp.tab.c m2-exp.tab.c ch-exp.tab.c TAGS
  693. # I believe this is wrong; the makefile standards for distclean just
  694. # describe removing files; the only sort of "re-create a distribution"
  695. # functionality described is if the distributed files are unmodified.
  696. distclean: clean
  697.     @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do 
  698.     rm -f nm.h tm.h xm.h config.status
  699.     rm -f y.output yacc.acts yacc.tmp y.tab.h
  700.     rm -f Makefile
  701.  
  702. realclean: clean
  703.     @$(MAKE) $(FLAGS_TO_PASS) DO=realclean "DODIRS=$(SUBDIRS)" subdir_do
  704.     rm -f c-exp.tab.c m2-exp.tab.c ch-exp.tab.c TAGS $(INFOFILES)
  705.     rm -f nm.h tm.h xm.h config.status
  706.     rm -f y.output yacc.acts yacc.tmp
  707.     rm -f Makefile
  708.  
  709. subdir_do: force
  710.     @for i in $(DODIRS); do \
  711.         if [ -f ./$$i/Makefile ] ; then \
  712.             if (cd ./$$i; \
  713.                 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
  714.             else exit 1 ; fi ; \
  715.         else true ; fi ; \
  716.     done
  717.  
  718. Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
  719.     $(SHELL) config.status
  720.  
  721. force:
  722.  
  723. # Documentation!
  724. # GDB QUICK REFERENCE (TeX dvi file, CM fonts)
  725. refcard.dvi:
  726.     ( cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS) )
  727.     mv doc/refcard.dvi .
  728.  
  729. # GDB QUICK REFERENCE (PostScript output, common PS fonts)
  730. refcard.ps:
  731.     ( cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS) )
  732.     mv doc/refcard.ps .
  733.  
  734. # GDB MANUAL: TeX dvi file
  735. gdb.dvi:
  736.     ( cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS) )
  737.     mv doc/gdb.dvi .
  738.  
  739. # GDB MANUAL: info file
  740. gdb.info:
  741.     ( cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS) )
  742.     mv doc/gdb.info* .
  743.  
  744. # Make copying.c from COPYING
  745. copying.c: COPYING copying.awk
  746.     awk -f $(srcdir)/copying.awk < $(srcdir)/COPYING > copying.c
  747.  
  748. version.c: Makefile
  749.     echo 'char *version = "$(VERSION)";' >version.c
  750.     echo 'char *host_canonical = "$(host_canonical)";' >> version.c
  751.     echo 'char *target_canonical = "$(target_canonical)";' >> version.c
  752.  
  753. # c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
  754. # in srcdir, then compiled in objdir to c-exp.tab.o.
  755.  
  756. # If we said c-exp.tab.c rather than ./c-exp.tab.c some makes
  757. # would sometimes re-write it into $(srcdir)/c-exp.tab.c.
  758.  
  759. # Remove bogus decls for malloc/realloc/free which conflict with everything
  760. # else.
  761. c-exp.tab.o: c-exp.tab.c
  762. c-exp.tab.c: c-exp.y Makefile.in
  763.     $(YACC) $(YFLAGS) $(srcdir)/c-exp.y
  764.     -sed -e '/extern.*malloc/d' \
  765.          -e '/extern.*realloc/d' \
  766.          -e '/extern.*free/d' \
  767.          -e '/include.*malloc.h/d' \
  768.          -e 's/malloc/xmalloc/g' \
  769.          -e 's/realloc/xrealloc/g' \
  770.       < y.tab.c > c-exp.new
  771.     -rm y.tab.c
  772.     mv c-exp.new ./c-exp.tab.c
  773.  
  774. # ch-exp.tab.c is generated in objdir from ch-exp.y if it doesn't exist
  775. # in srcdir, then compiled in objdir to ch-exp.tab.o.
  776. # Remove bogus decls for malloc/realloc/free which conflict with everything
  777. # else.
  778. ch-exp.tab.o: ch-exp.tab.c
  779. # the dependency here on c-exp.tab.c is artificial.  Without this
  780. # dependency, a parallel make will attempt to build both at the same
  781. # time and the second yacc will pollute the first y.tab.c file.
  782. ch-exp.tab.c: ch-exp.y Makefile.in c-exp.tab.c
  783.     $(YACC) $(YFLAGS) $(srcdir)/ch-exp.y
  784.     -sed -e '/extern.*malloc/d' \
  785.          -e '/extern.*realloc/d' \
  786.          -e '/extern.*free/d' \
  787.          -e '/include.*malloc.h/d' \
  788.          -e 's/malloc/xmalloc/g' \
  789.          -e 's/realloc/xrealloc/g' \
  790.       < y.tab.c > ch-exp.new
  791.     -rm y.tab.c
  792.     mv ch-exp.new ./ch-exp.tab.c
  793.  
  794. # m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist
  795. # in srcdir, then compiled in objdir to m2-exp.tab.o.
  796. # Remove bogus decls for malloc/realloc/free which conflict with everything
  797. # else.
  798. m2-exp.tab.o: m2-exp.tab.c
  799. # the dependency here on ch-exp.tab.c is artificial.  Without this
  800. # dependency, a parallel make will attempt to build both at the same
  801. # time and the second yacc will pollute the first y.tab.c file.
  802. m2-exp.tab.c: m2-exp.y Makefile.in ch-exp.tab.c
  803.     $(YACC) $(YFLAGS) $(srcdir)/m2-exp.y
  804.     -sed -e '/extern.*malloc/d' \
  805.          -e '/extern.*realloc/d' \
  806.          -e '/extern.*free/d' \
  807.          -e '/include.*malloc.h/d' \
  808.          -e 's/malloc/xmalloc/g' \
  809.          -e 's/realloc/xrealloc/g' \
  810.       < y.tab.c > m2-exp.new
  811.     -rm y.tab.c
  812.     mv m2-exp.new ./m2-exp.tab.c
  813.  
  814. # These files are updated atomically, so make never has to remove them
  815. .PRECIOUS: m2-exp.tab.c ch-exp.tab.c c-exp.tab.c
  816.  
  817. lint: $(LINTFILES)
  818.     $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
  819.        `echo $(DEPFILES) | sed 's/\.o /\.c /g'
  820.  
  821. gdb.cxref: $(SFILES)
  822.     cxref -I. $(SFILES) >gdb.cxref
  823.  
  824. force_update:
  825.  
  826. # GNU Make has an annoying habit of putting *all* the Makefile variables
  827. # into the environment, unless you include this target as a circumvention.
  828. # Rumor is that this will be fixed (and this target can be removed)
  829. # in GNU Make 4.0.
  830. .NOEXPORT:
  831.  
  832. # GNU Make 3.63 has a different problem: it keeps tacking command line
  833. # overrides onto the definition of $(MAKE).  This variable setting
  834. # will remove them.
  835. MAKEOVERRIDES=
  836.  
  837. ## This is ugly, but I don't want GNU make to put these variables in
  838. ## the environment.  Older makes will see this as a set of targets
  839. ## with no dependencies and no actions.
  840. unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET :
  841.  
  842. # These are things from config/*/*.m? fragments.  There is no good reason
  843. # why they are separate from the lists of files above.
  844.  
  845. ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
  846.     29k-share/udi/udi2go32.c \
  847.     a29k-pinsn.c a29k-tdep.c a68v-nat.c alpha-nat.c alpha-tdep.c \
  848.     altos-xdep.c arm-convert.s \
  849.     arm-pinsn.c arm-tdep.c arm-xdep.c coff-solib.c convex-pinsn.c \
  850.     convex-tdep.c \
  851.     convex-xdep.c core-svr4.c coredep.c corelow.c dcache.c delta68-nat.c \
  852.     dpx2-nat.c dstread.c exec.c fork-child.c \
  853.     go32-xdep.c gould-pinsn.c gould-xdep.c h8300-tdep.c h8500-tdep.c \
  854.     hp300ux-nat.c hppa-pinsn.c hppa-tdep.c hppab-nat.c hppah-nat.c \
  855.     i386-pinsn.c i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \
  856.     i386aix-nat.c i386m3-nat.c i386v4-nat.c i386ly-tdep.c \
  857.     i387-tdep.c \
  858.     i960-pinsn.c i960-tdep.c \
  859.     infptrace.c inftarg.c irix4-nat.c irix5-nat.c isi-xdep.c \
  860.     lynx-nat.c m3-nat.c \
  861.     m68k-pinsn.c m68k-tdep.c \
  862.     m88k-nat.c m88k-pinsn.c m88k-tdep.c mips-nat.c mips-pinsn.c \
  863.     mips-tdep.c mipsm3-nat.c news-xdep.c \
  864.     nindy-share/Onindy.c nindy-share/nindy.c \
  865.     nindy-share/ttyflush.c nindy-tdep.c \
  866.     ns32k-pinsn.c ns32km3-nat.c osfsolib.c \
  867.     paread.c procfs.c pyr-pinsn.c pyr-tdep.c pyr-xdep.c \
  868.     remote-adapt.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c \
  869.     remote-hms.c remote-mips.c \
  870.     remote-mm.c remote-mon.c remote-nindy.c remote-sim.c \
  871.     remote-st.c remote-utils.c dcache.c \
  872.     remote-udi.c remote-vx.c remote-z8k.c rs6000-nat.c rs6000-pinsn.c \
  873.     rs6000-tdep.c ser-go32.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \
  874.     sparc-pinsn.c sparc-tdep.c sparcly-nat.c sun3-nat.c sun386-nat.c \
  875.     symm-tdep.c symm-nat.c \
  876.     tahoe-pinsn.c ultra3-nat.c ultra3-xdep.c umax-xdep.c \
  877.     vax-pinsn.c \
  878.     vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \
  879.     xcoffexec.c xcoffread.c xcoffsolib.c z8k-tdep.c
  880.  
  881. ALLPARAM = config/a29k/nm-ultra3.h config/a29k/tm-a29k.h \
  882.     config/a29k/tm-ultra3.h config/a29k/xm-ultra3.h \
  883.     config/alpha/nm-alpha.h config/alpha/tm-alpha.h \
  884.     config/alpha/xm-alpha.h config/arm/tm-arm.h \
  885.     config/arm/xm-arm.h config/convex/tm-convex.h \
  886.     config/convex/xm-convex.h config/gould/tm-np1.h config/gould/tm-pn.h \
  887.     config/gould/xm-np1.h config/gould/xm-pn.h config/h8300/tm-h8300.h \
  888.     config/h8500/tm-h8500.h config/i386/nm-i386aix.h \
  889.     config/i386/nm-i386bsd.h config/i386/nm-i386lynx.h \
  890.     config/i386/nm-i386mach.h config/i386/nm-i386sco.h \
  891.     config/i386/nm-i386sco4.h config/i386/nm-i386v.h \
  892.     config/i386/nm-i386v4.h config/i386/nm-linux.h \
  893.     config/i386/nm-sun386.h config/i386/nm-symmetry.h \
  894.     config/i386/tm-i386aix.h config/i386/tm-i386bsd.h \
  895.     config/i386/tm-i386lynx.h config/i386/tm-i386m3.h \
  896.     config/i386/tm-i386mk.h config/i386/tm-i386nw.h \
  897.     config/i386/tm-i386v.h \
  898.     config/i386/tm-i386v4.h config/i386/tm-linux.h \
  899.     config/i386/tm-sun386.h \
  900.     config/i386/tm-symmetry.h config/i386/xm-go32.h \
  901.     config/i386/xm-i386aix.h config/i386/xm-i386bsd.h \
  902.     config/i386/xm-i386lynx.h config/i386/xm-i386mach.h \
  903.     config/i386/xm-i386m3.h config/i386/xm-i386mk.h \
  904.     config/i386/xm-i386sco.h config/i386/xm-i386v.h \
  905.     config/i386/xm-i386v32.h config/i386/xm-i386v4.h \
  906.     config/i386/xm-linux.h config/i386/xm-sun386.h \
  907.     config/i386/xm-symmetry.h config/i960/tm-nindy960.h \
  908.     config/i960/tm-vx960.h config/m68k/nm-apollo68b.h \
  909.     config/m68k/nm-apollo68v.h config/m68k/nm-delta68.h \
  910.     config/m68k/nm-dpx2.h config/m68k/nm-hp300bsd.h \
  911.     config/m68k/nm-hp300hpux.h config/m68k/nm-news.h \
  912.     config/m68k/nm-m68klynx.h \
  913.     config/m68k/nm-sun2.h \
  914.     config/m68k/nm-sun3.h config/m68k/tm-3b1.h config/m68k/tm-altos.h \
  915.     config/m68k/tm-apollo68b.h \
  916.     config/m68k/tm-amix.h config/m68k/tm-delta68.h \
  917.     config/m68k/tm-dpx2.h config/m68k/tm-es1800.h \
  918.     config/m68k/tm-hp300bsd.h config/m68k/tm-hp300hpux.h \
  919.     config/m68k/tm-isi.h config/m68k/tm-m68klynx.h \
  920.     config/m68k/tm-m68k-em.h \
  921.     config/m68k/tm-monitor.h \
  922.     config/m68k/tm-news.h config/m68k/tm-os68k.h config/m68k/tm-st2000.h \
  923.     config/m68k/tm-sun2.h config/m68k/tm-sun2os4.h config/m68k/tm-sun3.h \
  924.     config/m68k/tm-sun3os4.h config/m68k/tm-vx68.h config/m68k/xm-3b1.h \
  925.     config/m68k/xm-altos.h config/m68k/xm-amix.h \
  926.     config/m68k/xm-apollo68b.h config/m68k/xm-apollo68v.h \
  927.     config/m68k/xm-delta68.h config/m68k/xm-dpx2.h \
  928.     config/m68k/xm-hp300bsd.h config/m68k/xm-hp300hpux.h \
  929.     config/m68k/xm-isi.h config/m68k/xm-m68klynx.h \
  930.     config/m68k/xm-news.h config/m68k/xm-news1000.h \
  931.     config/m68k/xm-sun2.h config/m68k/xm-sun3.h config/m68k/xm-sun3os4.h \
  932.     config/m88k/nm-delta88v4.h config/m88k/nm-m88k.h \
  933.     config/m88k/tm-delta88.h \
  934.     config/m88k/tm-delta88v4.h config/m88k/tm-m88k.h \
  935.     config/m88k/xm-delta88.h config/m88k/xm-delta88v4.h \
  936.     config/m88k/xm-dgux.h config/m88k/xm-m88k.h \
  937.     config/mips/nm-irix3.h \
  938.     config/mips/nm-irix4.h config/mips/nm-irix5.h \
  939.     config/mips/nm-mips.h config/mips/nm-riscos.h \
  940.     config/mips/nm-news-mips.h config/mips/tm-bigmips.h \
  941.     config/mips/tm-idt.h config/mips/tm-idtl.h \
  942.     config/mips/tm-irix3.h config/mips/tm-irix5.h \
  943.     config/mips/tm-mips.h config/mips/tm-mipsm3.h \
  944.     config/mips/xm-irix3.h \
  945.     config/mips/xm-irix4.h config/mips/xm-irix5.h \
  946.     config/mips/xm-makeva.h config/mips/xm-mips.h \
  947.     config/mips/xm-mipsm3.h \
  948.     config/mips/xm-riscos.h config/mips/xm-news-mips.h \
  949.     config/nm-lynx.h config/nm-sysv4.h \
  950.     config/none/nm-none.h config/none/tm-none.h config/none/xm-none.h \
  951.     config/ns32k/nm-umax.h \
  952.     config/ns32k/tm-ns32km3.h \
  953.     config/ns32k/tm-merlin.h config/ns32k/tm-umax.h \
  954.     config/ns32k/xm-ns32km3.h \
  955.     config/ns32k/xm-merlin.h config/ns32k/xm-umax.h \
  956.     config/pa/nm-hppab.h \
  957.     config/pa/nm-hppah.h config/pa/tm-hppab.h config/pa/tm-hppah.h \
  958.     config/pa/xm-hppab.h config/pa/xm-hppah.h config/pa/xm-pa.h \
  959.     config/pyr/tm-pyr.h \
  960.     config/pyr/xm-pyr.h config/romp/xm-rtbsd.h config/rs6000/nm-rs6000.h \
  961.     config/rs6000/tm-rs6000.h config/rs6000/xm-rs6000.h config/sh/tm-sh.h \
  962.     config/sparc/nm-sun4os4.h config/sparc/nm-sparclynx.h \
  963.     config/sparc/tm-sparclite.h config/sparc/tm-sparclynx.h \
  964.     config/sparc/tm-spc-em.h config/sparc/tm-sun4os4.h \
  965.     config/sparc/tm-sun4sol2.h config/sparc/tm-vxsparc.h \
  966.     config/sparc/xm-sparclynx.h \
  967.     config/sparc/xm-sun4os4.h config/sparc/xm-sun4sol2.h \
  968.     config/tahoe/tm-tahoe.h config/tahoe/xm-tahoe.h config/vax/nm-vax.h \
  969.     config/vax/tm-vax.h config/vax/xm-vaxbsd.h config/vax/xm-vaxult.h \
  970.     config/vax/xm-vaxult2.h config/z8k/tm-z8k.h
  971.  
  972. ALLCONFIG = config/a29k/a29k-kern.mt config/a29k/a29k-udi.mt \
  973.     config/a29k/a29k.mt config/a29k/ultra3.mh config/a29k/ultra3.mt \
  974.     config/alpha/alpha-osf1.mh config/alpha/alpha-osf1.mt \
  975.     config/alpha/alpha-nw.mt \
  976.     config/arm/arm.mh config/arm/arm.mt config/convex/convex.mh \
  977.     config/convex/convex.mt config/gould/np1.mh config/gould/np1.mt \
  978.     config/gould/pn.mh config/gould/pn.mt config/h8300/h8300hms.mt \
  979.     config/h8500/h8500hms.mt config/i386/go32.mh config/i386/i386aix.mh \
  980.     config/i386/i386aix.mt config/i386/i386aout.mt config/i386/i386bsd.mh \
  981.     config/i386/i386bsd.mt config/i386/i386lynx.mh \
  982.     config/i386/i386lynx.mt config/i386/i386m3.mh config/i386/i386m3.mt \
  983.     config/i386/i386mach.mh config/i386/i386mk.mh config/i386/i386mk.mt \
  984.     config/i386/i386nw.mt config/i386/i386sco.mh \
  985.     config/i386/i386sco4.mh \
  986.     config/i386/i386sol2.mh config/i386/i386sol2.mt config/i386/i386v.mh \
  987.     config/i386/i386v.mt config/i386/i386v32.mh config/i386/i386v4.mh \
  988.     config/i386/i386v4.mt config/i386/linux.mh config/i386/linux.mt \
  989.     config/i386/ncr3000.mh config/i386/ncr3000.mt config/i386/ptx.mh \
  990.     config/i386/sun386.mh \
  991.     config/i386/sun386.mt config/i386/symmetry.mh config/i386/symmetry.mt \
  992.     config/i960/nindy960.mt config/i960/vxworks960.mt config/m68k/3b1.mh \
  993.     config/m68k/3b1.mt config/m68k/altos.mh config/m68k/altos.mt \
  994.     config/m68k/amix.mh config/m68k/amix.mt config/m68k/apollo68b.mh \
  995.     config/m68k/apollo68b.mt \
  996.     config/m68k/apollo68v.mh config/m68k/delta68.mh \
  997.     config/m68k/delta68.mt config/m68k/dpx2.mh config/m68k/dpx2.mt \
  998.     config/m68k/es1800.mt config/m68k/hp300bsd.mh \
  999.     config/m68k/hp300bsd.mt config/m68k/hp300hpux.mh \
  1000.     config/m68k/hp300hpux.mt config/m68k/isi.mh config/m68k/isi.mt \
  1001.     config/m68k/m68klynx.mh config/m68k/m68klynx.mt \
  1002.     config/m68k/m68k-em.mt \
  1003.     config/m68k/monitor.mt \
  1004.     config/m68k/news.mh config/m68k/news.mt config/m68k/news1000.mh \
  1005.     config/m68k/os68k.mt config/m68k/st2000.mt config/m68k/sun2os3.mh \
  1006.     config/m68k/sun2os3.mt config/m68k/sun2os4.mh config/m68k/sun2os4.mt \
  1007.     config/m68k/sun3os3.mh config/m68k/sun3os3.mt config/m68k/sun3os4.mh \
  1008.     config/m68k/sun3os4.mt config/m68k/vxworks68.mt config/m88k/delta88.mh \
  1009.     config/m88k/delta88.mt config/m88k/delta88v4.mh \
  1010.     config/m88k/delta88v4.mt config/m88k/m88k.mh config/m88k/m88k.mt \
  1011.     config/mips/bigmips.mt config/mips/decstation.mh \
  1012.     config/mips/decstation.mt config/mips/idt.mt config/mips/idtl.mt \
  1013.     config/mips/irix3.mh config/mips/irix3.mt config/mips/irix4.mh \
  1014.     config/mips/irix5.mh config/mips/irix5.mt \
  1015.     config/mips/littlemips.mh config/mips/littlemips.mt \
  1016.     config/mips/mipsm3.mh config/mips/mipsm3.mt \
  1017.     config/mips/news-mips.mh config/mips/riscos.mh \
  1018.     config/none/none.mh config/none/none.mt config/ns32k/merlin.mh \
  1019.     config/ns32k/merlin.mt config/ns32k/ns32km3.mh config/ns32k/ns32km3.mt \
  1020.     config/ns32k/umax.mh config/ns32k/umax.mt \
  1021.     config/pa/hppabsd.mh config/pa/hppabsd.mt config/pa/hppahpux.mh \
  1022.     config/pa/hppahpux.mt config/pyr/pyramid.mh config/pyr/pyramid.mt \
  1023.     config/romp/rtbsd.mh config/rs6000/rs6000.mh config/rs6000/rs6000.mt \
  1024.     config/sh/sh.mt config/sparc/sparc-em.mt config/sparc/sparclite.mt \
  1025.     config/sparc/sparclynx.mh config/sparc/sparclynx.mt \
  1026.     config/sparc/sun4os4.mh config/sparc/sun4os4.mt \
  1027.     config/sparc/sun4sol2.mh config/sparc/sun4sol2.mt \
  1028.     config/sparc/vxsparc.mt config/tahoe/tahoe.mh config/tahoe/tahoe.mt \
  1029.     config/vax/vax.mt config/vax/vaxbsd.mh config/vax/vaxult.mh \
  1030.     config/vax/vaxult2.mh config/z8k/z8ksim.mt
  1031.  
  1032.  
  1033. udip2soc.o: $(srcdir)/29k-share/udi/udip2soc.c $(udiheaders)
  1034.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c
  1035.  
  1036. udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders)
  1037.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udi2go32.c
  1038.  
  1039. udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders) 
  1040.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
  1041.  
  1042. a29k-pinsn.o: a29k-pinsn.c $(bfd_h) $(dis-asm_h)
  1043. a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h)
  1044. a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1045.  
  1046. alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
  1047.  
  1048. alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1049.     $(inferior_h) $(symtab_h) $(dis-asm.h)
  1050.  
  1051. altos-xdep.o: altos-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1052. arm-pinsn.o: arm-pinsn.c $(OP_INCLUDE)/arm.h $(defs_h) $(symtab_h)
  1053.  
  1054. blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \
  1055.     objfiles.h symfile.h target.h
  1056.  
  1057. breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1058.     $(inferior_h) language.h target.h thread.h
  1059.  
  1060. buildsym.o: buildsym.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
  1061.     objfiles.h symfile.h $(symtab_h)
  1062.  
  1063. c-lang.o: c-lang.c c-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
  1064.     language.h parser-defs.h $(symtab_h)
  1065.  
  1066. c-typeprint.o: c-typeprint.c c-lang.h $(defs_h) $(expression_h) \
  1067.     $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
  1068.     typeprint.h $(value_h)
  1069.  
  1070. c-valprint.o: c-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
  1071.     language.h $(symtab_h) valprint.h $(value_h)
  1072.  
  1073. ch-lang.o: ch-lang.c ch-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
  1074.     language.h parser-defs.h $(symtab_h)
  1075.  
  1076. ch-typeprint.o: ch-typeprint.c ch-lang.h $(defs_h) $(expression_h) \
  1077.     $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) \
  1078.     target.h $(value_h) typeprint.h
  1079.  
  1080. ch-valprint.o: ch-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
  1081.     language.h $(symtab_h) valprint.h $(value_h) c-lang.h
  1082.  
  1083. coff-solib.o: coff-solib.c $(defs_h)
  1084.  
  1085. coffread.o: coffread.c $(bfd_h) $(breakpoint_h) buildsym.h \
  1086.     complaints.h $(defs_h) $(expression_h) $(gdbtypes_h) objfiles.h \
  1087.     symfile.h $(symtab_h) gdb-stabs.h stabsread.h
  1088.  
  1089. command.o: command.c $(defs_h) $(expression_h) $(gdbcmd_h) \
  1090.     $(gdbtypes_h) $(symtab_h) $(value_h)
  1091.  
  1092. complaints.o: complaints.c complaints.h $(defs_h) $(gdbcmd_h)
  1093.  
  1094. convex-pinsn.o: convex-pinsn.c $(OP_INCLUDE)/convex.h $(defs_h) \
  1095.     $(symtab_h)
  1096.  
  1097. convex-tdep.o: convex-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) \
  1098.     $(gdbcore_h) $(inferior_h)
  1099.  
  1100. convex-xdep.o: convex-xdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1101.     $(inferior_h)
  1102.  
  1103. core-svr4.o: core-svr4.c $(command_h) $(defs_h) $(gdbcore_h) \
  1104.     $(inferior_h) target.h
  1105.  
  1106. core.o: core.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1107.     $(inferior_h) target.h language.h
  1108.  
  1109. coredep.o: coredep.c $(defs_h) $(gdbcore_h) $(value_h)
  1110.  
  1111. corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
  1112.     target.h thread.h
  1113.  
  1114. cp-valprint.o: cp-valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
  1115.     $(gdbtypes_h) $(symtab_h) $(value_h)
  1116.  
  1117. dcache.o: dcache.c $(dcache_h)
  1118.  
  1119. dbxread.o: dbxread.c $(breakpoint_h) buildsym.h $(command_h) \
  1120.     complaints.h $(defs_h) $(expression_h) gdb-stabs.h $(gdbcore_h) \
  1121.     $(gdbtypes_h) language.h objfiles.h partial-stab.h stabsread.h \
  1122.     symfile.h $(symtab_h) target.h
  1123.  
  1124. dcache.o: dcache.c $(dcache_h)
  1125.  
  1126. delta68-nat.o: delta68-nat.c $(defs_h)
  1127.  
  1128. demangle.o: demangle.c $(defs_h) $(gdbcmd_h)
  1129.  
  1130. dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
  1131.     $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
  1132.     $(symtab_h)
  1133.  
  1134. elfread.o: elfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
  1135.     gdb-stabs.h objfiles.h symfile.h $(symtab_h)
  1136.  
  1137. environ.o: environ.c $(defs_h) environ.h $(gdbcore_h)
  1138.  
  1139. eval.o: eval.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
  1140.     $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
  1141.  
  1142. exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
  1143.     target.h language.h
  1144.  
  1145. expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
  1146.     language.h parser-defs.h $(symtab_h) $(value_h)
  1147.  
  1148. findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
  1149.  
  1150. fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \
  1151.     $(inferior_h) target.h terminal.h thread.h
  1152.  
  1153. gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
  1154.     $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \
  1155.     $(value_h)
  1156.  
  1157. go32-xdep.o: go32-xdep.c
  1158.  
  1159. gould-pinsn.o: gould-pinsn.c $(OP_INCLUDE)/np1.h $(defs_h) $(frame_h) \
  1160.     $(gdbcore_h) $(symtab_h)
  1161.  
  1162. gould-xdep.o: gould-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1163. h8300-tdep.o: h8300-tdep.c $(defs_h) $(frame_h) $(symtab_h)
  1164.  
  1165. h8500-tdep.o: h8500-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) \
  1166.     $(expression_h) $(frame_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) \
  1167.     $(value_h)
  1168.  
  1169. hp300ux-nat.o: hp300ux-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1170. hppa-pinsn.o: hppa-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h) 
  1171.  
  1172. hppa-tdep.o: hppa-tdep.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1173.     $(inferior_h) objfiles.h symfile.h target.h
  1174.  
  1175. hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
  1176. hppah-nat.o: hppah-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
  1177. i386-pinsn.o: i386-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
  1178. i386-tdep.o: i386-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
  1179. i386b-nat.o: i386b-nat.c $(defs_h) 
  1180. i386ly-nat.o: i386ly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
  1181. i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(inferior_h) target.h
  1182. i386mach-nat.o: i386mach-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) 
  1183.  
  1184. i386v-nat.o: i386v-nat.c $(ieee-float_h) $(defs_h) $(gdbcore_h) \
  1185.     $(inferior_h) language.h target.h
  1186.  
  1187. i386v4-nat.o: i386v4-nat.c $(defs_h)
  1188.  
  1189. i387-tdep.o: i387-tdep.c $(ieee-float_h) $(defs_h) $(gdbcore_h) \
  1190.     $(inferior_h) language.h
  1191.  
  1192. i960-pinsn.o: i960-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
  1193.  
  1194. i960-tdep.o: i960-tdep.c $(ieee-float_h) $(defs_h) $(expression_h) \
  1195.     $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h)
  1196.  
  1197. infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
  1198.     $(inferior_h) target.h language.h
  1199.  
  1200. inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \
  1201.     signals.h target.h terminal.h thread.h
  1202.  
  1203. infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
  1204.  
  1205. infrun.o: infrun.c $(wait_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1206.     $(inferior_h) target.h thread.h
  1207.  
  1208. inftarg.o: inftarg.c $(wait_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
  1209.     target.h terminal.h $(command_h)
  1210.  
  1211. irix4-nat.o: irix4-nat.c $(defs_h) $(inferior_h)
  1212. isi-xdep.o: isi-xdep.c
  1213.  
  1214. language.o: language.c $(bfd_h) $(defs_h) $(expression_h) $(frame_h) \
  1215.     $(gdbcmd_h) $(gdbtypes_h) language.h parser-defs.h $(symtab_h) \
  1216.     target.h $(value_h)
  1217.  
  1218. m2-lang.o: m2-lang.c $(defs_h) $(expression_h) $(gdbtypes_h) \
  1219.     language.h m2-lang.h parser-defs.h $(symtab_h)
  1220.  
  1221. m2-typeprint.o: m2-typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
  1222.     $(gdbcore_h) $(gdbtypes_h) language.h m2-lang.h $(symtab_h) target.h \
  1223.     $(value_h)
  1224.  
  1225. m2-valprint.o: m2-valprint.c $(defs_h) $(gdbtypes_h) $(symtab_h) \
  1226.     valprint.h
  1227.  
  1228. m68k-pinsn.o: m68k-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h) 
  1229. m68k-tdep.o: m68k-tdep.c $(defs_h) $(frame_h) $(symtab_h) 
  1230. m68kly-nat.o: m68kly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
  1231. m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1232. m88k-pinsn.o: m88k-pinsn.c $(defs_h) $(symtab_h) 
  1233. m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1234.  
  1235. main.o: main.c $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \
  1236.     $(defs_h) $(gdbcmd_h) $(inferior_h) language.h signals.h \
  1237.     $(remote_utils_h)
  1238.     $(CC) -c $(INTERNAL_CFLAGS) $(READLINE_CFLAGS) $(srcdir)/main.c
  1239.  
  1240. maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \
  1241.     $(expression_h)
  1242.  
  1243. mdebugread.o: mdebugread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
  1244.     $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
  1245.     objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
  1246.  
  1247. mem-break.o: mem-break.c $(defs_h) 
  1248.  
  1249. minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
  1250.     $(symtab_h)
  1251.  
  1252. mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) 
  1253. mips-pinsn.o: mips-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h) 
  1254.  
  1255. mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1256.     $(inferior_h) language.h objfiles.h symfile.h
  1257.  
  1258. mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
  1259.     $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
  1260.     objfiles.h partial-stab.h stabsread.h symfile.h $(symtab_h)
  1261.  
  1262. news-xdep.o: news-xdep.c
  1263.  
  1264. Onindy.o: nindy-share/Onindy.c $(wait_h) nindy-share/block_io.h \
  1265.     nindy-share/env.h
  1266.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
  1267.  
  1268. nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \
  1269.     nindy-share/env.h
  1270.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/nindy.c
  1271.  
  1272. nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
  1273.     gdb-stabs.h objfiles.h symfile.h $(symtab_h) stabsread.h
  1274.  
  1275. ttyflush.o: nindy-share/ttyflush.c
  1276.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
  1277.  
  1278. nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h) 
  1279.  
  1280. ns32k-pinsn.o: ns32k-pinsn.c $(defs_h) $(gdbcore_h) ns32k-opcode.h \
  1281.     $(symtab_h)
  1282.  
  1283. objfiles.o: objfiles.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
  1284.     $(symtab_h)
  1285.  
  1286. osfsolib.o: osfsolib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
  1287.     objfiles.h regex.h symfile.h target.h language.h
  1288.  
  1289. paread.o: paread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
  1290.     gdb-stabs.h objfiles.h symfile.h $(symtab_h)
  1291.  
  1292. parse.o: parse.c $(command_h) $(defs_h) $(expression_h) $(frame_h) \
  1293.     $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h)
  1294.  
  1295. printcmd.o: printcmd.c $(breakpoint_h) $(defs_h) $(expression_h) \
  1296.     $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
  1297.     $(symtab_h) target.h
  1298.  
  1299. procfs.o: procfs.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
  1300.     target.h
  1301.  
  1302. putenv.o: putenv.c
  1303.  
  1304. pyr-pinsn.o: pyr-pinsn.c $(OP_INCLUDE)/pyr.h $(defs_h) $(gdbcore_h) \
  1305.     $(symtab_h)
  1306.  
  1307. pyr-tdep.o: pyr-tdep.c $(defs_h) 
  1308. pyr-xdep.o: pyr-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h) 
  1309.  
  1310. regex.o: regex.c regex.h
  1311.  
  1312. remote-adapt.o: remote-adapt.c $(wait_h) $(defs_h) $(gdbcore_h) \
  1313.     $(inferior_h) target.h terminal.h
  1314.  
  1315. remote-bug.o: remote-bug.c $(wait_h) $(defs_h) $(gdbcore_h) \
  1316.     $(inferior_h) target.h terminal.h $(remote_utils_h)
  1317.  
  1318. remote-eb.o: remote-eb.c $(wait_h) $(srcdir)/config/a29k/tm-a29k.h \
  1319.     $(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h
  1320.  
  1321. remote-es.o: remote-es.c $(bfd_h) $(wait_h) $(command_h) $(defs_h) \
  1322.     $(inferior_h) $(remote_utils_h) terminal.h
  1323.  
  1324. remote-hms.o: remote-hms.c $(wait_h) $(defs_h) $(gdbcore_h) \
  1325.     $(inferior_h) serial.h target.h terminal.h
  1326.  
  1327. remote-mips.o: remote-mips.c $(wait_h) $(defs_h) $(gdbcmd_h) \
  1328.     $(gdbcore_h) $(inferior_h) serial.h symfile.h target.h
  1329.  
  1330. remote-mm.o: remote-mm.c $(bfd_h) $(wait_h) $(defs_h) $(inferior_h) \
  1331.     minimon.h target.h terminal.h
  1332.  
  1333. remote-mon.o: remote-mon.c $(wait_h) $(command_h) $(defs_h) \
  1334.     $(gdbcore_h) monitor.h serial.h target.h
  1335.  
  1336. remote-nindy.o: remote-nindy.c $(ieee-float_h) $(wait_h) $(command_h) \
  1337.     $(defs_h) $(gdbcore_h) $(inferior_h) \
  1338.     nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \
  1339.     symfile.h
  1340.  
  1341. remote-sim.o: remote-sim.c $(wait_h) $(defs_h) $(gdbcore_h) \
  1342.     $(inferior_h) target.h terminal.h
  1343.  
  1344. remote-st.o: remote-st.c $(wait_h) $(defs_h) $(gdbcore_h) serial.h \
  1345.     target.h
  1346.  
  1347. remote-udi.o: remote-udi.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
  1348.     $(inferior_h) target.h terminal.h $(udiheaders)
  1349.  
  1350. remote-vx.o: remote-vx.c $(wait_h) complaints.h $(defs_h) $(gdbcmd_h) \
  1351.     $(gdbcore_h) $(inferior_h) target.h vx-share/dbgRpcLib.h \
  1352.     vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \
  1353.     vx-share/xdr_rdb.h
  1354.  
  1355. remote-z8k.o: remote-z8k.c $(wait_h) $(srcdir)/../sim/z8k/sim.h \
  1356.     $(defs_h) $(gdbcore_h) $(inferior_h) target.h terminal.h
  1357.  
  1358. remote-utils.o: remote-utils.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
  1359.     $(inferior_h) $(remote_utils_h) 
  1360.  
  1361. remote.o: remote.c $(bfd_h) $(wait_h) $(defs_h) $(gdbcmd_h) \
  1362.     $(inferior_h) $(remote_utils_h) symfile.h terminal.h
  1363.  
  1364. rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
  1365.  
  1366. rs6000-pinsn.o: rs6000-pinsn.c $(OP_INCLUDE)/rs6k.h $(defs_h)
  1367.  
  1368. rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
  1369.     target.h xcoffsolib.h
  1370.  
  1371. ser-go32.o: ser-go32.c $(defs_h) serial.h 
  1372. ser-tcp.o: ser-tcp.c $(defs_h) serial.h signals.h
  1373. ser-unix.o: ser-unix.c $(defs_h) serial.h 
  1374. serial.o: serial.c $(defs_h) serial.h 
  1375.  
  1376. sh-tdep.o: sh-tdep.c $(bfd_h) $(dis-asm_h) \
  1377.     $(srcdir)/../opcodes/sh-opc.h $(defs_h) $(expression_h) $(frame_h) \
  1378.     $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(value_h)
  1379.  
  1380. solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
  1381.     objfiles.h regex.h symfile.h target.h
  1382.  
  1383. source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
  1384.     $(gdbcore_h) language.h objfiles.h regex.h symfile.h $(symtab_h)
  1385.  
  1386. sparc-nat.o: sparc-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
  1387. sparc-pinsn.o: sparc-pinsn.c $(bfd_h) $(dis-asm_h) $(defs_h)
  1388.  
  1389. sparc-tdep.o: sparc-tdep.c $(ieee-float_h) $(defs_h) $(gdbcore_h) \
  1390.     $(inferior_h) objfiles.h symfile.h target.h
  1391.  
  1392. sparcly-nat.o: sparcly-nat.c $(bfd_h) $(defs_h) $(inferior_h) target.h
  1393.  
  1394. stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
  1395.     $(INCLUDE_DIR)/aout/stab_gnu.h buildsym.h complaints.h $(defs_h) \
  1396.     $(gdbtypes_h) objfiles.h stabsread.h symfile.h $(symtab_h)
  1397.  
  1398. stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
  1399.     language.h target.h
  1400.  
  1401. sun3-nat.o: sun3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1402. sun386-nat.o: sun386-nat.c $(defs_h) $(inferior_h) $(gdbcore_h)
  1403.  
  1404. symfile.o: symfile.c $(breakpoint_h) complaints.h $(defs_h) \
  1405.     $(expression_h) $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) \
  1406.     language.h objfiles.h symfile.h $(symtab_h) target.h
  1407.  
  1408. symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)    
  1409. symm-nat.o: symm-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1410.  
  1411. symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \
  1412.     $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
  1413.     $(symtab_h) 
  1414.  
  1415. symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \
  1416.     $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \
  1417.     regex.h symfile.h $(symtab_h) target.h $(value_h)
  1418.  
  1419. tahoe-pinsn.o: tahoe-pinsn.c $(OP_INCLUDE)/tahoe.h $(defs_h) \
  1420.     $(symtab_h)
  1421.  
  1422. target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \
  1423.     objfiles.h symfile.h target.h
  1424.  
  1425. thread.o: thread.c $(defs_h) thread.h $(gdbcmd_h)
  1426.  
  1427. typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
  1428.     $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
  1429.     $(value_h) 
  1430.  
  1431. ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1432. ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1433. umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
  1434.  
  1435. utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \
  1436.     language.h signals.h target.h terminal.h
  1437.  
  1438. valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \
  1439.     $(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
  1440.  
  1441. valops.o: valops.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h
  1442.  
  1443. valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
  1444.     $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
  1445.     $(value_h)
  1446.  
  1447. values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
  1448.     $(gdbcore_h) $(gdbtypes_h) $(symtab_h) target.h $(value_h)
  1449.  
  1450. vax-pinsn.o: vax-pinsn.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h)
  1451.  
  1452. xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \
  1453.     vx-share/vxWorks.h vx-share/xdr_ld.h
  1454.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c
  1455.  
  1456. xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \
  1457.     vx-share/vxWorks.h vx-share/xdr_ptrace.h
  1458.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c
  1459.  
  1460. xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \
  1461.     vx-share/vxWorks.h vx-share/xdr_rdb.h
  1462.     $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c
  1463.  
  1464. xcoffexec.o: xcoffexec.c $(BFD_SRC)/libbfd.h $(defs_h) $(gdbcmd_h) \
  1465.     $(gdbcore_h) $(inferior_h) objfiles.h symfile.h target.h xcoffsolib.h
  1466.  
  1467. xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
  1468.     $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \
  1469.     $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h buildsym.h \
  1470.     complaints.h $(defs_h) $(gdbtypes_h) objfiles.h stabsread.h symfile.h \
  1471.     $(symtab_h)
  1472.  
  1473. xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) xcoffsolib.h
  1474.  
  1475. z8k-tdep.o: z8k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) $(frame_h) \
  1476.     $(gdbcmd_h) $(gdbtypes_h) $(symtab_h)
  1477.  
  1478. c-exp.tab.o: c-exp.tab.c c-lang.h $(defs_h) $(expression_h) \
  1479.     $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
  1480.     $(bfd_h) objfiles.h symfile.h
  1481.  
  1482. ch-exp.tab.o: ch-exp.tab.c ch-lang.h $(defs_h) $(expression_h) \
  1483.     $(gdbtypes_h) language.h parser-defs.h $(symtab_h) $(value_h) \
  1484.     $(bfd_h) objfiles.h symfile.h
  1485.  
  1486. m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(expression_h) $(gdbtypes_h) \
  1487.     language.h m2-lang.h parser-defs.h $(symtab_h) $(value_h) \
  1488.     $(bfd_h) objfiles.h symfile.h
  1489.  
  1490. ### end of the gdb Makefile.in.
  1491.